/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.skycloud.bts.service.impl;

import com.skycloud.bts.dao.BtsTicketTypeFacadeRemote;
import com.skycloud.bts.service.TicketServiceRemote;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;

/**
 *
 * @author HAINN
 */
@Stateless
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public class TicketService implements TicketServiceRemote{
    
    @EJB
    BtsTicketTypeFacadeRemote btsTicketTypeFacadeRemote;

    @Override
    public String testCount(String name) {
        return name+ " "+btsTicketTypeFacadeRemote.count();
    }

    
}
